
#coding=utf-8
'''
Created on Aug 3, 2016

@author: wangpeng
'''

import unittest
from appium import webdriver
from selenium.webdriver.common.by import By   #用于匹配某个值是否出现，智能等待
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import time
import common_setting.logging_save
import common_setting.desired_setting
import common_setting.config
import common_setting.Create_Log_Folder
import sys
reload(sys)
sys.setdefaultencoding('utf8')
import os
import choose_mobile
class Test(unittest.TestCase):
    def setUp(self):
        pass
    def tearDown(self):
        pass

    def testName(self):
        if choose_mobile.want_to_test_mobile == 'huawei_honor7':
            import common_setting.cell_function.test  #不同手机调用不同的配置
            time.sleep(5)

        else:
            pass



if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.testName']
    unittest.main()